package com.hassean.we.admin.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hassean.we.admin.mapper.TbRescueTeamMapper;
import com.hassean.we.admin.model.entity.TbRescueTeam;
import com.hassean.we.admin.service.TbRescueTeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yajun
 * @since 2019-03-29
 */
@Service
public class TbRescueTeamServiceImpl extends ServiceImpl<TbRescueTeamMapper, TbRescueTeam> implements TbRescueTeamService {

    @Autowired TbRescueTeamMapper tbRescueTeamMapper;

    @Override
    public Long insertAndReturnId(TbRescueTeam tbRescueTeam) {

        return tbRescueTeamMapper.insertAndReturnId(tbRescueTeam);


    }
}
